<template>
  <div class="main">
    <header class="header">
      <div>
        <div class="tit">管理后台权限</div>
      </div>
      <div class="opear">
        <div @click="$router.push('/home')">
          <a href="" style="color:white;text-decoration:none;"><span>系统首页</span></a>
          
        </div>
        <div @click="$router.push('/sign_in')">
          <a href="" style="color:white; text-decoration:none;"><span>退出系统</span></a>
          
        </div>
      </div>
    </header>
    <div class="content">
      <div class="nav" style="width:160px">
        <SideNavigationBar/>
      </div>
      <div class="router_view">
        <router-view></router-view>
      </div>
    </div>
  </div>
</template>
<script>
import SideNavigationBar from "@/components/SideNavigationBar";
export default {
  components: {
    SideNavigationBar
  }
};
</script>

<style lang="less" scoped>
.main {
  background: #f3f3f3;
}

.header {

  background: #0067b1;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  div {
   
    display: flex;
    align-items: center;
 
    font-size: 12px;
    img {
      width: 12px;
      height: 10px;
    }
    .avator {
      width: 40px;
      height: 40px;
      border-radius: 40px;
    }
  }
}
.opear {
 
  margin-right: 0.3rem;
  color: #f3f3f3;
  div {
    color: red;
    margin-left: 0.1rem;
    span {
      padding-left: 5px;
    }
  }
}
.nav {
  float: left;
  height: 100vh;
}
.content {
  overflow: hidden;
  .router_view {
    padding: 5px 20px;
    padding-left: 0;
    overflow: scroll;
    height: 100vh;
    overflow-x: hidden;
  }
}
.tit {
  color: white;
  font-size: 28px !important;
  padding-left: 10px;
}
</style>
